import request from '../../../utils/request';

export const getAppoints = query => {
    return request({
        url: '/api/stand/yun/appoint/doMain',
        method:'post',
        // url: './json/appointlist.json',
        // method: 'get',
        params: query,
    });
};
export const selectByAssessId = query => {
    return request({
        // url: './json/appointone.json',
        // method: 'get',
        url: '/api/stand/appoint/selectById',
        method:'post',
        params: query,
    });
};

//取消预约
export const doDelete = query => {
    return request({
        url: '/api/stand/appoint/doDelete',
        method:'delete',
        // url:'./json/addORupdatepatient.json',
        // method: 'get',
        params: query
    });
};
//修改编辑用户
export const doUpdate = query => {
    return request({
        url: '/api/stand/appoint/doUpdate',
        method:'post',
        // url:'./json/addORupdatepatient.json',
        // method: 'get',
        params: query
    });
};


